import QtQuick
import FluentUI
import QtQuick.Layouts
import QtQuick.Controls

FluWindow {
    id: interviewWindow
    width: 1200
    height: 675
    minimumWidth: 640
    minimumHeight: 360
    backgroundColor: "#F2F8FC"

    property real fontSizeFactor: interviewWindow.width / 1200

    Row {
        anchors.fill: parent
        spacing: parent.width * 0.005
        // 对话框
        Loader {
            width: parent.width * 0.618
            height: parent.height
            source: "Chat.qml"
        }

        // 展示界面
        Loader {
            width: parent.width * 0.377
            height: parent.height
            source: "Exhibition.qml"
        }
    }

    onClosing: {
        FluRouter.navigate("/mainWindow");
    }
}
